-- GENERATED SPELL FOR [Drywallow Daggermaw] --


function spell0_4345(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4345', 20000, 1)
end

function Sorts_4345(pUnit, Event)
local choix_sorts_4345 = math.random(0, 0)
if choix_sorts_4345 == 0 then
pUnit:RegisterEvent('spell0_4345', 1, 1)
end
end

function mob4345_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4345', math.random(1500, 3000), 1)
end

function mob4345_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4345_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4345_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4345, 1, 'mob4345_Action')
RegisterUnitEvent(4345, 2, 'mob4345_Leave')
RegisterUnitEvent(4345, 3, 'mob4345_Kill')
RegisterUnitEvent(4345, 4, 'mob4345_Die')
